package artid.com.arttogo.bean;

import org.json.JSONObject;

import java.io.Serializable;

/**
 * 
*    
* 项目名称：ArtworkArt   
* 类名称：DotPraiseUserParser   
* 类描述：点赞用户实体类+解析   
* 创建人：耿卫斌   
* 创建时间：2017-1-18 上午11:28:48   
*
 */
public class DotPraiseUserParser extends AppItem implements Serializable {
	private static final long serialVersionUID = 1L;
	private String imgurl;
	private String realname;
	@Override
	public void parse(JSONObject obj) {
		// TODO Auto-generated method stub
		if (null == obj) {
			return;
		}
		imgurl = obj.optString("imgurl");
		realname = obj.optString("realname");
	}
	public String getImgurl() {
		return imgurl;
	}
	public void setImgurl(String imgurl) {
		this.imgurl = imgurl;
	}
	public String getRealname() {
		return realname;
	}
	public void setRealname(String realname) {
		this.realname = realname;
	}
	public DotPraiseUserParser() {
		super();
	}
	public DotPraiseUserParser(String imgurl, String realname) {
		super();
		this.imgurl = imgurl;
		this.realname = realname;
	}
	@Override
	public String toString() {
		return "DotPraiseUserParser [imgurl=" + imgurl + ", realname="
				+ realname + "]";
	}
}
